﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tasker.Infrastructure.Entities;
using Tasker.Infrastructure.Repositories.Base;

namespace Tasker.Infrastructure.Repositories
{
    public interface ITaskWorkersRepository: ICrudRepository<ITaskWorker>
    {
        IEnumerable<ITaskWorker> SelectByUserId(int userId);
        IEnumerable<ITaskWorker> SelectByTaskId(int taskId);
        void DeleteAll(int taskId);
    }
}
